package com.ruoyi.bigScreen.domain.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.domain.BigDecimalSerializerTo2;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class BigScreenWaterRegimeMonitoringVO extends BaseEntity {


    private static final long serialVersionUID = 6219495008686015082L;

    /** 机构编码 */
    private String orgCd;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String orgNm;

    /** 测站编码*/
    private String statCd;

    /** 测站名称 */
    @Excel(name = "测站名称")
    private String statNm;

    /** 设备名称 */
//    @Excel(name = "设备名称")
    private String devNm;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String devNo;

    /** 所在断面 */
//    @Excel(name = "所在断面")
    private String crossCd;

    /** 测站类型 */
//    @Excel(name = "测站类型")
    private String statType;

    /** 渠道编码 */
    private String chanCd;

    /** 渠道名称 */
//    @Excel(name = "渠道名称")
    private String chanNm;

    /** 数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date chkTime;

    /** 实时水位 */
    @Excel(name = "实时水位")
    @JsonSerialize(using = BigDecimalSerializerTo2.class)
    private BigDecimal curLevel;

    /** 瞬时流量 */
    @Excel(name = "瞬时流量")
    @JsonSerialize(using = BigDecimalSerializerTo2.class)
    private BigDecimal curFlow;

    /** 累计流量 */
//    @Excel(name = "累计流量")
    @JsonSerialize(using = BigDecimalSerializerTo2.class)
    private BigDecimal sumFlow;

    /** 电池电压 */
    @Excel(name = "电池电压")
    private BigDecimal cellVolt;

    /** 信号强度 */
    @Excel(name = "信号强度")
    private BigDecimal signalSize;

    /** 测站状态“0”-在线，“1”-离线 */
    @Excel(name = "测站状态",readConverterExp="0=在线,1=离线,=离线")
    private String statFlag;

   /**运行状态*/
    private String runningState;

    /**供电状态*/
    private Integer powerStatus;
}
